﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Crevice2D.Core.Data
{
    public abstract class StaticObject
    {
        protected Texture2D _texture;
        public Vector2 Position;

        public int Width
        {
            get { return _texture.Width; }
        }

        public int Height
        {
            get { return _texture.Height; }
        }

        protected StaticObject()
        {
            
        }

        public virtual bool LoadContent()
        {
            return true;
        }

        public virtual void Update(GameTime gameTime)
        {
            
        }

        public virtual void Draw(GameTime gameTime)
        {
        }
    }
}
